<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Title</title>
    <script type="application/javascript">
        function click1() {
            alert(1);
        }
        function click2(id) {
            alert(id);
        }
    </script>
</head>
<body>
    <input type="button" value="click" onclick="click1()">
    <input type="button" value="click2" onclick="click2(2)">
</body>
</html>